package cn.group.service;


import cn.group.domain.Classes;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ClassService {
    List<Classes> getAll();
    PageInfo<Classes> getAll(Integer currentPage,Integer pageSize);
    Classes getOneById(Integer id); //查询一个数据
    boolean addOne(Classes classes);
    boolean removeOne(Classes classes);
    boolean changeOne(Classes classes);

}
